package com.ruoyi.system.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

/** 帖子更新请求参数 */
@ApiModel(value = "PostsUpdateVo", description = "更新帖子请求VO")
@Data
public class PostsUpdateVo {
    @NotNull(message = "ID不能为空")
    @ApiModelProperty(value = "主键ID", required = true)
    private Long id;
    @ApiModelProperty(value = "用户ID")
    private String userId;
    @ApiModelProperty(value = "帖子内容")
    private String content;
    @ApiModelProperty(value = "图片URL数组")
    private List<String> images;
    @ApiModelProperty(value = "图片URL分号分隔字符串")
    private String imagesStr;
    @ApiModelProperty(value = "标签数组")
    private List<String> tags;
    @ApiModelProperty(value = "标签分号分隔字符串")
    private String tagsStr;
    @ApiModelProperty(value = "位置信息")
    private String location;
    @ApiModelProperty(value = "可见范围")
    private Integer visibility;
    @ApiModelProperty(value = "状态")
    private Integer status;
    @ApiModelProperty(value = "媒体类型：1图片/2视频")
    private Integer mediaType;
    @ApiModelProperty(value = "文件总大小（字节）")
    private Long sizeBytes;
    @ApiModelProperty(value = "点赞数量")
    private Integer likeCount;
    @ApiModelProperty(value = "评论数量")
    private Integer commentCount;
    @ApiModelProperty(value = "分享数量")
    private Integer shareCount;
    @ApiModelProperty(value = "打赏次数")
    private Integer rewardCount;
    @ApiModelProperty(value = "打赏金额")
    private BigDecimal rewardAmount;
    @ApiModelProperty(value = "是否置顶")
    private Boolean isTop;

}
